package com.andong.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 教练选择表
 * @TableName choose_coach
 */
@TableName("choose_coach")
@Data
public class ChooseCoach implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 学员ID
     */
    private Long studentId;

    /**
     * 教练ID
     */
    private Long coachId;

    /**
     * 是否同意0-等待教练选择1-同意2-拒绝
     */
    private Integer status;

    /**
     * 拒绝原因
     */
    private String rejectReason;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}